package com.ruoyi.project.chargesystem.service.impl;

import com.ruoyi.project.chargesystem.domain.CharCharge;
import com.ruoyi.project.chargesystem.mapper.CharChargeMapper;
import com.ruoyi.project.chargesystem.service.ICharChargeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ICharChargeServiceImpl implements ICharChargeService {
    @Autowired
    private CharChargeMapper charChargeMapper;
    @Override
    public List<CharCharge> selectAllCharChargeInfo(CharCharge charCharge) {
        return charChargeMapper.selectAllCharChargeInfo(charCharge);
    }

    @Override
    public List<CharCharge> selectCharChargeDetailInfo(String orderId) {
        return charChargeMapper.selectCharChargeDetailInfo(orderId);
    }
}
